package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.WorkerCertificationAudit;
import com.jzo2o.customer.model.dto.request.CertificationAuditReqDTO;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.WorkerCertificationAuditResDTO;

/**
 * @author wl
 * @version 1.0
 * @since 2025-09-17 11:43
 */
public interface IWorkerCertificationAuditService extends IService<WorkerCertificationAudit> {



    void insertAudit(WorkerCertificationAudit workerCertificationAudit);

    /**
     * 获取拒绝原因
     *
     * @param userId
     * @return
     */
    String rejectReason(Long userId);

    /**
     * 分页查询
     *
     * @param workerCertificationAuditPageQueryReqDTO
     * @return
     */
    PageResult<WorkerCertificationAuditResDTO> pageQuery(WorkerCertificationAuditPageQueryReqDTO workerCertificationAuditPageQueryReqDTO);


    /**
     * 审核
     *
     * @param id
     * @param certificationAuditReqDTO
     */
    void AduitWorkerCertificationAudit(Long id, CertificationAuditReqDTO certificationAuditReqDTO);

}
